<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>PokemonMS β - 大会編集</title>
<jsp:include page="/WEB-INF/view/common/head_meta.jsp"></jsp:include>
<link rel="stylesheet" type="text/css" href="${f:url('/css/custom-theme/jquery-ui-1.8.2.custom.css')}"/>
<script type="text/javascript" src="${f:url('/js/jquery-1.4.2.min.js')}"></script>
<script type="text/javascript" src="${f:url('/js/jquery-ui-1.8.2.custom.min.js')}"></script>
<script type="text/javascript" src="${f:url('/js/convention.js')}"></script>
</head>
<body>
<jsp:include page="../common/header.jsp"/>
<html:errors/>

<s:form>
<html:hidden property="conventionId"/>
<html:hidden property="version"/>
<table class="tablebg">
	<tr>
		<td> 大会名 </td>
		<td>
			<html:text property="conventionName" styleClass="convention_name_text"/>
		</td>
	</tr>
	<tr>
		<td> 開催日時 </td>
		<td>
			<html:text styleId="conventionDay" property="conventionDay" styleClass="convention_day_text"/>
			<html:text property="conventionTime" styleClass="convention_time_text"></html:text>
		</td>
		<div id="conventionDate"></div>
	</tr>
	<tr>
		<td> twitterハッシュタグ </td>
		<td>
			<html:text property="hashTag" styleClass="hash_tag_text"/>
		</td>
	</tr>
	<tr>
		<td> 終了条件 </td>
		<td>
			<html:select property="endState" styleId="end_state" onchange="showEndStateInput()">
				<html:options collection="endStateMap" property="key"  labelProperty="value"/>
			</html:select>
		</td>
	</tr>
	<tr>
		<td>
			<div id="end_win_count_lavel">勝利回数</div>
			<div id="end_limit_time_min_lavel">制限時間(分)</div>
		</td>
		<td>
			<div id="end_win_count_value"><html:text property="endWinCount"/></div>
			<div id="end_limit_time_min_value"><html:text property="endLimitTimeMin"/></div>
		</td>
	</tr>
	<tr>
		<td> コメント </td>
		<td>
			<html:textarea property="conventionComment" styleClass="convention_comment_text"></html:textarea>
		</td>
	</tr>
</table>

<input type="submit" name="update" value="更新" />
</s:form>
<br/><br/>

<s:link href="/convention/${conventionId}">戻る</s:link>

</body>
</html>